﻿
using System.Collections.Generic;
using System.Linq;
using System;

namespace MishraReader
{
    public class NewFeature
    {
        public string Description { get; set; }

        public static IOrderedEnumerable<NewFeature> All
        {
            get
            {
                var lines = Strings.NewFeatures.Split('\n');
                var features = new List<NewFeature>();

                lines.ForEach(line => features.Add(new NewFeature {Description = line.Trim()}));
               
                return features.OrderBy(n => n.Description);
            }
        }
    }
}